package com.zjh.common.datasource;

import java.lang.annotation.*;

/**
 * 主/从数据库
 *
 * @author shanhuiming
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface DataSource {

    String value() default "primary";
}
